package com.qianfeng.openplatform.webmaster.service;

import com.qianfeng.openplatform.webmaster.entry.LayuiDataTableSource;
import com.qianfeng.openplatform.webmaster.entry.OpenApiMaster;
import com.qianfeng.openplatform.webmaster.pojo.Customer;

import java.util.List;

/**
 * @author 江江
 * @Date 2020/7/22 17:41
 */
public interface CustomerService {
    LayuiDataTableSource getCusetomerPage(Integer page, Integer limit, String name, Integer state);

    OpenApiMaster addCustomer(Customer customer);

    OpenApiMaster updateCustomer(Customer customer);

    OpenApiMaster delCustomer(String[] arr);

    List<Customer> getCustomerAll();

    Customer getCustomerById(Integer customerId);
}
